package com.hrpmar.service;

import com.hrpmar.controller.dto.PurplanDto;
import com.hrpmar.pojo.Destorydetails;
import com.hrpmar.utils.Pager;

import java.util.List;

/**
 * Created by c on 2017-11-20.
 */
public interface AuditService {
    /**
     * 查询未审核或审核未通过的信息
     * @param offset
     * @param limit
     * @param condition
     * @return
     */
    public Pager search(Integer offset, Integer limit, PurplanDto condition);

    public void auditPurplan(String planNum,Integer planChstate,String planViews);


    public Pager searchPendingAudit(PurplanDto dto,Integer offset,Integer limit);

    /**
     * 根据销毁主表编号查询详情
     * @param desNum
     * @return
     */
    public List<Destorydetails> searchDan(String desNum);

    /**
     * 销毁授权
     * @param desNum
     * @param desAuditstate
     * @param desViews
     */
    public void auditDestorymaster(String desNum,Integer desAuditstate,String desViews);

}
